import axios from '@/api/common.js'
export const right = (type) => {
  return axios({
    method: 'get',
    url: `rights/${type}`
  })
}
// 动态生成左侧导航栏
export const leftMenus = () => {
  return axios({
    url: `menus`
  })
}
